Description
MetaForge Engine is a high-performance WordPress custom field builder and modern Advanced Custom Fields engine engineered for developers who demand clean architecture, fast execution, and guaranteed Zero Lock-In.
Whether you are building complex enterprise content models, structured UI components, nested data groups, or dynamic custom post types, MetaForge Engine delivers a visual field builder, a robust developer PHP API, and deep multi-provider AI assistance without database bloat or proprietary format traps.
Why WordPress Developers Choose MetaForge Engine
- WordPress Custom Field Builder with Clean Database Architecture: Create structured custom meta boxes across posts, pages, custom post types, taxonomy terms, user profiles, and global options pages. All metadata is stored in standard WordPress core tables (
wp_postmeta,wp_termmeta,wp_options) without cryptic serialization or proprietary locks. - 20 Core Free Field Types Included: Access 20 essential field types right out of the box—including nested Group containers, User Selectors, Post Type Selectors, dynamic Taxonomies, Date/Time pickers, Color pickers, Range sliders, and Buttons with zero artificial limits.
- Structured Nested Groups & Hierarchies: Build multi-level data models with unlimited nesting depth, memory-safe iteration, and clean PHP template syntax.
- Seamless 1-Click Migration for Advanced Custom Fields: Seamlessly migrate existing Advanced Custom Fields field groups in a single click via MetaForge Tools Switch to MetaForge. The importer automatically converts existing field groups into native MetaForge schemas, allowing developers to query fields using familiar, zero-lock-in
metaforge_*template helpers (metaforge_get_field(),metaforge_have_rows(),metaforge_the_row()). - WordPress Dynamic Fields & Relational Bindings: Connect custom post types with dynamic AJAX dependencies, taxonomy terms, bidirectional user selectors, and custom query sorting hooks (
metaforge_post_order,metaforge_term_order). - Visual Custom Post Type & Taxonomy Managers: Create and configure custom post types and hierarchical or tag taxonomies directly in the dashboard without writing code or installing extra plugins.
- Global Options Pages: Register site-wide settings panels for headers, footers, social links, and API credentials with full field group assignment.
- Gutenberg Block Bridge: Transform any field group into a native WordPress block (
metaforge/block registry) with zero React or JavaScript boilerplate. Customize block rendering using standard PHP template overrides (template-parts/blocks/{slug}.php). - Enterprise Multi-Provider AI Core: Integrate OpenAI (ChatGPT & Responses API), Anthropic Claude, Google Gemini, Groq (Llama), DeepSeek, or OpenRouter to generate field groups, schemas, and realistic mock data from natural language prompts.
- Guaranteed Zero Lock-In: Built-in template functions (
metaforge_get_field(),metaforge_have_rows(), etc.) are defensively wrapped withfunction_exists(). If MetaForge Engine is ever deactivated, your templates remain safe from fatal PHP errors, and all custom meta remains 100% accessible via native WordPressget_post_meta()calls. - Extend with MetaForge Pro: Unlock 8 advanced field types including Repeaters with drag-and-drop ordering, Flexible Content modular layout builder, Gallery multi-image uploader, Relationship bidirectional selector, oEmbed, Icon Picker, Code Snippet container, and Accordion panels.
Developer PHP Template API & Real-World Examples
MetaForge Engine provides a developer-friendly PHP template API designed for fast theme and plugin development:
1. Standard Custom Meta Field Retrieval (Free)
<?php
// Retrieve a formatted custom field
$hero_title = metaforge_get_field('hero_title');
$hero_image = metaforge_get_field('hero_image'); // Returns formatted image array
if ($hero_title) : ?>
<div class="hero-banner">
<h1><?php echo esc_html($hero_title); ?></h1>
<?php if (!empty($hero_image['url'])) : ?>
<img src="<?php echo esc_url($hero_image['url']); ?>" alt="<?php echo esc_attr($hero_image['alt']); ?>" />
<?php endif; ?>
</div>
<?php endif; ?>
2. Nested Group Field Retrieval (Free)
<?php
// Retrieve nested associative subfields from a Group field
$contact_group = metaforge_get_field('contact_info');
if (!empty($contact_group)) : ?>
<div class="contact-card">
<p><strong>Email:</strong> <?php echo esc_html($contact_group['email'] ?? ''); ?></p>
<p><strong>Phone:</strong> <?php echo esc_html($contact_group['phone'] ?? ''); ?></p>
</div>
<?php endif; ?>
3. Programmatic Field Group Registration via PHP (Free)
<?php
// Register field groups locally in theme or plugin functions.php
add_action('init', function () {
if (function_exists('metaforge_add_local_field_group')) {
metaforge_add_local_field_group([
'key' => 'group_property_details',
'title' => 'Property Specifications',
'location' => [
[
['param' => 'post_type', 'operator' => '==', 'value' => 'property']
]
],
'fields' => [
[
'key' => 'field_prop_price',
'label' => 'Listing Price',
'name' => 'listing_price',
'type' => 'number',
],
[
'key' => 'field_prop_agent',
'label' => 'Assigned Agent',
'name' => 'assigned_agent',
'type' => 'user',
]
]
]);
}
});
4. High-Performance Repeater Field Loop (MetaForge Pro)
<?php
// Loop through a repeater field using standard row syntax (Pro)
if (metaforge_have_rows('pricing_features')) : ?>
<ul class="features-list">
<?php while (metaforge_have_rows('pricing_features')) : metaforge_the_row(); ?>
<li>
<span class="icon"><?php echo esc_html(metaforge_get_sub_field('icon_class')); ?></span>
<strong><?php echo esc_html(metaforge_get_sub_field('feature_title')); ?></strong>:
<?php echo esc_html(metaforge_get_sub_field('feature_description')); ?>
</li>
<?php endwhile; ?>
</ul>
<?php metaforge_reset_rows(); ?>
<?php endif; ?>
5. Flexible Content Layout Builder Dispatcher (MetaForge Pro)
<?php
// Modular flexible layout builder dispatcher (Pro)
if (metaforge_have_rows('page_sections')) :
while (metaforge_have_rows('page_sections')) : metaforge_the_row();
$layout = metaforge_get_row_layout();
// Dispatches to template-parts/blocks/{layout}.php
get_template_part('template-parts/blocks/' . sanitize_file_name($layout));
endwhile;
metaforge_reset_rows();
endif;
?>
20 Core Free Field Types
MetaForge Engine includes 20 production-ready field types in the free core version:
- Text: Single-line text with character counters, prepends/appends, and HTML5 validation.
- Textarea: Multi-line text with customizable row height and
<br>or<p>auto-formatting. - Number: Integer or floating decimal with min, max, and step boundaries.
- Range / Slider: Interactive slider UI for numeric values.
- Checkbox: Multi-value checkbox group with dynamic layout direction.
- Radio: Single-selection radio button list.
- True / False: Binary toggle switch with custom affirmative/negative labels.
- Link: Comprehensive URL picker supporting internal post selection, target, and link text.
- Button / CTA: Action button configurator with URL, label, styling, and target attributes.
- Color Picker: Iris-based color selector with hex and rgba support.
- Date & Time Picker: Customizable date, time, and datetime inputs with format presets.
- Image: Media modal selector returning structured array, image URL, or attachment ID.
- File: Secure media uploader supporting document and asset file types.
- WYSIWYG Editor: Full WordPress TinyMCE / visual rich-text editor.
- Select: Dropdown menu supporting single or multi-select with search filtering.
- Post Type Selector: Dynamic post picker with post type filtering and object return formats.
- Taxonomy: Term selector with dynamic AJAX bindings connected to post type selectors.
- User Selector: User profile picker filtered by user role and capabilities.
- Group: Nested associative subfield containers for structured object grouping.
- Tab: Visual section dividers for organizing large meta boxes into clean tabs.
8 Advanced Fields in MetaForge Pro
Upgrade to MetaForge Pro to unlock 8 additional enterprise-grade field types:
- Repeater: High-performance repeatable subfield matrix with drag-and-drop sorting.
- Flexible Content: Multi-layout modular block builder for dynamic page composition.
- Gallery: Multi-image batch uploader with drag-and-drop ordering.
- Relationship: Bidirectional post relational selector with live search filtering.
- oEmbed: Embed video, audio, and rich media with responsive aspect wrappers.
- Icon Picker: Visual vector icon selector.
- Code Snippet: Syntax-formatted read-only code display container for documentation and code block presentation.
- Accordion: Collapsible interface panels for complex admin forms.
Complete WordPress Administration Suite
- Custom Post Type Manager: Register and configure custom post types with custom slugs, REST API exposure, dashicons, menu positioning, and hierarchical attributes.
- Custom Taxonomy Manager: Register hierarchical (category-like) and flat (tag-like) custom taxonomies mapped to any registered post type.
- Visual Drag-and-Drop Reordering: High-performance batch ordering engine for custom post types and taxonomy terms with query sorting hooks (
metaforge_post_order,metaforge_term_order). - Global Options Pages: Register custom options pages for site-wide settings (header, footer, social links, API credentials) backed by the
metaforge_optionspost type. - Role & Capability Manager: Configure custom WordPress user roles and fine-grained capability assignments (
manage_metaforge). - JSON Sync & Version Control: Automatically export field group schemas to
.jsonfiles within your theme or plugin for Git version control and team synchronization. - WP-CLI Integration: Execute
wp metaforge syncin continuous integration and automated deployment scripts. - Tools & System Logs: Built-in authenticated System Logs viewer, export/import tools, and 1-Click “Switch to MetaForge” competitor field group migration.
External Services
MetaForge Engine integrates optional third-party AI service providers to power its AI Layout Assistant, Schema Generator, and Content Generation tools. MetaForge Engine supports the official WordPress 7.0+ Core AI Client (wp_ai_client_prompt()), allowing site administrators to use centralized AI providers configured under Settings > Connectors. For sites running earlier WordPress versions (WP 6.x) or users who wish to supply their own API keys, MetaForge Engine connects directly to user-configured LLM providers. These services are only invoked when a site administrator explicitly configures an API key under MetaForge -> AI Settings and initiates an AI generation action.
- OpenAI API
* Service: OpenAI LLM APIs (ChatGPT & Responses API)
* Purpose: Powering natural language field schema generation and content creation.
* Data Sent: Admin-provided prompts and field structure context. No user PII is sent.
* Condition: Sent only when OpenAI is selected as the active AI provider in AI Settings and an AI action is triggered by an administrator.
* Terms of Service: https://openai.com/policies/terms-of-use/
* Privacy Policy: https://openai.com/policies/privacy-policy/
- Anthropic Claude API
* Service: Anthropic Messages API
* Purpose: Powering natural language field schema generation and content creation.
* Data Sent: Admin-provided prompts and field structure context. No user PII is sent.
* Condition: Sent only when Anthropic is selected as the active AI provider in AI Settings and an AI action is triggered by an administrator.
* Terms of Service: https://www.anthropic.com/legal/terms
* Privacy Policy: https://www.anthropic.com/legal/privacy
- Google Gemini API
* Service: Google Generative AI API
* Purpose: Powering natural language field schema generation and content creation.
* Data Sent: Admin-provided prompts and field structure context. No user PII is sent.
* Condition: Sent only when Google Gemini is selected as the active AI provider in AI Settings and an AI action is triggered by an administrator.
* Terms of Service: https://ai.google.dev/terms
* Privacy Policy: https://policies.google.com/privacy
- Groq API
* Service: Groq LPU Inference Cloud API
* Purpose: Fast natural language field schema generation and content creation using open models.
* Data Sent: Admin-provided prompts and field structure context. No user PII is sent.
* Condition: Sent only when Groq is selected as the active AI provider in AI Settings and an AI action is triggered by an administrator.
* Terms of Service: https://groq.com/terms-of-use/
* Privacy Policy: https://groq.com/privacy-policy/
- DeepSeek API
* Service: DeepSeek API
* Purpose: Powering natural language field schema generation and content creation.
* Data Sent: Admin-provided prompts and field structure context. No user PII is sent.
* Condition: Sent only when DeepSeek is selected as the active AI provider in AI Settings and an AI action is triggered by an administrator.
* Terms of Service: https://cdn.deepseek.com/policies/en-US/deepseek-terms-of-use.html
* Privacy Policy: https://cdn.deepseek.com/policies/en-US/deepseek-privacy-policy.html
- OpenRouter API
* Service: OpenRouter LLM Gateway
* Purpose: Routing natural language prompts to user-selected AI models.
* Data Sent: Admin-provided prompts and field structure context. No user PII is sent.
* Condition: Sent only when OpenRouter is selected as the active AI provider in AI Settings and an AI action is triggered by an administrator.
* Terms of Service: https://openrouter.ai/terms
* Privacy Policy: https://openrouter.ai/privacy
Copyright and 3rd Party Libraries
MetaForge Engine bundles the following open-source third-party libraries:
-
Select2:
- Source: https://github.com/select2/select2
- License: MIT (https://github.com/select2/select2/blob/master/LICENSE.md)
- Copyright: (c) 2012-2020 Kevin Brown, Igor Vaynberg, and Select2 contributors
-
SortableJS:
- Source: https://github.com/SortableJS/Sortable
- License: MIT (https://github.com/SortableJS/Sortable/blob/master/LICENSE)
- Copyright: (c) 2019-2024 Lebedev Konstantin and SortableJS contributors
Post-Activation Setup
- Configure AI Settings: Navigate to MetaForge AI Settings and enter your API key (OpenAI, Anthropic, Gemini, Groq, DeepSeek, or OpenRouter), or define
MetaForge_AI_API_KEYinwp-config.php. - Create Custom Post Types & Taxonomies: Use the MetaForge Post Types and MetaForge Taxonomies menus to register custom content structures.
- Build Field Groups: Go to MetaForge Field Groups to create new field groups or use the AI Layout Assistant to generate them from natural language.
- Setup Git JSON Sync: Enable JSON Sync under settings to commit field group definitions directly into your Git repository.
Installation
- Upload the
metaforge-enginedirectory to the/wp-content/plugins/directory (or upload the.zipvia Plugins Add New Upload Plugin). - Activate MetaForge Engine through the Plugins menu in WordPress.
- Access MetaForge from the WordPress admin sidebar menu.
FAQ
-
Is MetaForge Engine free to use for WordPress custom fields?
-
Yes! MetaForge Engine is 100% GPL-licensed open source software. All 20 core field types (including Group, Post Type Selector, Taxonomy, User Selector, Date/Time, Color Picker, Range, and Button), visual custom post type builders, taxonomy managers, global options pages, and developer PHP helper functions are completely free.
-
What advanced fields are included in MetaForge Pro?
-
MetaForge Pro unlocks 8 advanced enterprise field types: Repeater fields with drag-and-drop reordering, Flexible Content modular layout builder, Gallery multi-image uploader, Relationship bidirectional selector, oEmbed, Icon Picker, Code Snippet container, and Accordion panels, along with advanced layout workflows.
-
What makes MetaForge Engine different from other custom field builders?
-
MetaForge Engine was designed from the ground up as a modern, high-performance Advanced Custom Fields builder. It delivers familiar developer workflows (
metaforge_get_field(),metaforge_have_rows(),metaforge_the_row()) combined with modern architectural advantages: single-transient configuration caching to eliminate N+1 database queries, native multi-provider AI schema generation, built-in visual custom post type & taxonomy managers, drag-and-drop post/term ordering, and a 1-click migration tool under MetaForge Tools. -
Where is my custom field and meta box data stored in WordPress?
-
All custom field data is stored in standard WordPress core database tables (
wp_postmeta,wp_termmeta,wp_options). There is zero proprietary data lock-in. Field values can be retrieved at any time using native WordPress functions likeget_post_meta($post_id, 'field_name', true). -
How do I display custom fields in WordPress theme templates?
-
MetaForge Engine provides clean, zero-lock-in template helpers:
*metaforge_get_field('field_name'): Returns formatted field data.
*metaforge_the_field('field_name'): Directly echoes sanitized field output.
*metaforge_have_rows('repeater_name')&metaforge_the_row(): Iterates through repeaters and flexible content layouts.
All functions are defensively wrapped withfunction_exists(), ensuring your templates never crash if the plugin is deactivated. -
How does the 1-click migration from Advanced Custom Fields work?
-
Under MetaForge Tools Switch to MetaForge, the plugin automatically scans your database for existing custom field groups and legacy configurations and converts them into native MetaForge format in seconds. Once imported, your existing content remains intact, and you can query your data cleanly using MetaForge’s template helpers.
-
How do nested fields and Repeater fields perform on high-traffic websites?
-
Nested Group fields are included free in MetaForge Engine. Repeatable matrix fields (available in MetaForge Pro) bundle repeater rows into optimized, indexed JSON structures, resolving entire repeater trees in a single database read. This eliminates the multi-query performance bottleneck (N+1 queries) found in older custom field plugins.
-
How does the Flexible Content modular layout builder work?
-
Available in MetaForge Pro, MetaForge’s Flexible Content field allows content creators to stack customizable layouts (such as Hero Banners, 2-Column Text, Quote blocks, or Feature Grids) in any order. In theme templates, developers use
metaforge_have_rows('page_sections')andmetaforge_get_row_layout()to dynamically include semantic template parts viaget_template_part('template-parts/blocks/' . $layout). -
Can I create Gutenberg blocks using MetaForge custom fields?
-
Yes! The Gutenberg Block Bridge automatically registers any field group as a native WordPress block (
metaforge/block registry) with zero React or JavaScript boilerplate. Developers can render the block output using simple PHP template files (template-parts/blocks/{slug}.php). -
Can I register custom field groups programmatically in PHP code?
-
Yes! MetaForge Engine includes full support for programmatic field group registration via
metaforge_add_local_field_group(). You can define field groups in your theme’sfunctions.phpor a custom functionality plugin, keeping your schemas under version control alongside automated Git JSON Sync. -
Can I add custom fields to Taxonomies, User Profiles, and Options Pages?
-
Yes. MetaForge Engine includes comprehensive location rule targeting for Custom Post Types, Pages, Posts, Categories, Tags, Custom Taxonomies, User Profile screens, and custom Global Options Pages registered via the built-in Options Page Manager.
-
What happens if MetaForge Engine is deactivated? Will my site crash?
-
No. MetaForge Engine enforces a strict Zero Lock-In architecture. All public helper functions (
metaforge_get_field(),metaforge_the_field(),metaforge_have_rows(), etc.) are defensively wrapped withfunction_exists(). If the plugin is ever deactivated, your theme templates continue executing without fatal PHP errors, and all your raw custom meta remains 100% accessible via standard WordPressget_post_meta()calls. -
How does the built-in AI Schema Assistant work?
-
MetaForge Engine includes multi-provider AI support for OpenAI, Anthropic Claude, Google Gemini, Groq, DeepSeek, and OpenRouter. You provide your own API key under MetaForge AI Settings or define
MetaForge_AI_API_KEYinwp-config.php. The assistant can generate complete field schemas, post types, and realistic mock data from simple natural language prompts. -
Is user data or metadata tracked or transmitted remotely?
-
No. MetaForge Engine is completely private. It does not track site users, collect telemetry, or transmit any background phone-home data. All AI conversational memory is stored strictly within your local WordPress database (
wp_metaforge_ai_memory).
Reviews
There are no reviews for this plugin.
Contributors & Developers
“MetaForge Engine” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “MetaForge Engine” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.3 — 2026-10-29
UI & Field Enhancements
* New: Differentiated Group and nested Sub-Group fields on post/page edit screens using semantic heading tags (H3 for root groups, H4 for nested sub-groups), icon badges, and clean card containers (.mfe-group-card).
* New: Redesigned Color Picker field UI with a compact inline layout, custom rounded swatch preview box, uppercase monospace hex input with # prefix, 8 quick preset color dots, and one-click default reset button.
* Improved: Real-time synchronization across color picker swatch, native color dialog, text hex input, presets, and reset buttons in assets/js/field.js.
* Fixed: Field body accordion expand/collapse toggle behavior in field builder views.
PHP Code Generator & Template Logic
* Fixed: Resolved variable collision and duplicate variable naming in the PHP template code generator when nested groups or multiple sub-groups share identical field slugs (e.g., title), automatically scoping sub-group variables (e.g., $banner_layout_title vs $about_layout_title).
* New: Added semantic sub-group comments (<!-- Sub-Group: {label} -->) and container wrapper elements in generated frontend HTML markup for nested groups.
Core & Stability
* Fixed: Syntax error fix in FieldManager.php and verified binary equality across release distribution trees.
1.0.2 — 2026-10-28
Core & Field Formatting
* New: Dynamic image return format options (‘array’, ‘url’, ‘id’) in field group settings, format value engine, and PHP template code generator.
* New: Universal theme compatibility aliases (get_field(), the_field(), have_rows(), the_row(), get_sub_field(), reset_rows()) for seamless migration from legacy field engines.
* New: Recursive repeater and group sub-field value formatter (metaforge_format_field()).
* Fixed: Image URL resolution fallback when image_downsize() returns false (e.g. for PNGs, SVGs, or uncompressed media), ensuring reliable fallback to wp_get_attachment_url(). Built-in template generator updated with dual fallback.
Admin UI & Builder Improvements
* New: Auto-dismissing toast notifications (4s for success, 10s for warnings/errors) with manual close button and hover-pause behavior.
* New: URL query parameter cleaner removing ?saved=1 on load so page refresh does not re-display old messages.
* Improved: Gutenberg Block Settings tab automatically remains active upon saving when block registration is enabled.
* Security: Replaced unescaped $pro_disabled_attr with WordPress native disabled() helper across all companion Pro field selector options for strict WordPress Security escaping compliance (WordPress.Security.EscapeOutput).
1.0.1 — 2026-10-27
Field Builder & UI Improvements
* Improved: Companion Pro field types (Repeater, Flexible Content, Gallery, Relationship, oEmbed, Icon Picker, Code Snippet, Accordion) now display in the field type selector with clear ‘(PRO Only)’ indicators and disabled status when MetaForge Pro is installed without an active license key.
* Improved: Prevented invalid field group configuration saves when attempting to add unlicensed Pro fields without proper activation.
Documentation & Repository Optimization
* Documentation: Complete overhaul of the Frequently Asked Questions (FAQ) section with 14 comprehensive questions addressing developer workflows, zero lock-in guarantees, and performance benchmarks.
* Documentation: Added real-world theme template code examples demonstrating metaforge_get_field(), metaforge_the_field(), metaforge_have_rows(), and metaforge_the_row().
* Documentation: Added detailed explanations of database storage architecture (wp_postmeta, wp_termmeta, wp_options) and single-read performance caching to eliminate N+1 query loops.
* Documentation: Detailed the 1-Click Migration scanner under MetaForge Tools for converting existing Advanced Custom Fields groups into native MetaForge schemas.
* Documentation: Refined repository search tags (advanced custom fields, custom fields, field builder, meta box, custom post type) and tagline for improved WordPress.org directory indexing.
* Documentation: Standardized phrasing across plugin descriptions and documentation headers.
1.0.0 — 2026-10-07
First Stable Public Release — WordPress.org Directory Release
* Official WordPress.org directory submission and comprehensive review compliance.
* 20 Core free field types: Text, Textarea, Number, Range / Slider, Checkbox, Radio, True/False, Link, Button / CTA, Color Picker, DateTime, Image, File, WYSIWYG, Select, Post Type Selector, Taxonomy, User, Group, and Tab.
* 8 MetaForge Pro field types decoupled to companion plugin (metaforge-pro): Repeater, Flexible Content, Gallery, Relationship, oEmbed, Icon Picker, Code Snippet, and Accordion.
* Security: Removed arbitrary code and script insertion (“Allow Embed Code” option and embed modal removed from free builder; standard WordPress sanitizers enforced on all fields).
* Security: Hardened script-context JSON-LD output in Schema Generator using JSON_HEX_TAG to prevent script block breakout.
* Security: Context-appropriate late output escaping applied across all admin templates, eliminating unescaped echoes.
* Security: Shortcode [metaforge_field] return values sanitized and escaped using esc_html and wp_kses_post.
* Standards: Consistent >= 4 character distinctive prefixing standardized across entire codebase (metaforge_ / METAFORGE_ / MetaForge_).
* Standards: “Tested up to” declared strictly in readme.txt only (removed from main PHP plugin header).
* Libraries: Upgraded bundled Select2 to official stable release 4.1.0 (removed pre-release tags).
* External Services: Eliminated external image service calls in favor of 100% self-contained local SVG placeholder generation.
* Multi-Provider AI Core Engine with OpenAI, Anthropic Claude, Google Gemini, Groq, DeepSeek, and OpenRouter support with verified HTTP 200 terms and privacy agreements.
* AI Layout Assistant for generating field groups from natural language prompts.
* Visual Custom Post Type & Taxonomy builders with drag-and-drop ordering.
* Gutenberg Block Bridge for rendering field groups as native editor blocks.
* Global Options Pages with unlimited sub-pages.
* Full REST API endpoints for all registered fields and field groups.
* WP-CLI wp metaforge sync command for CI/CD workflows.
* Zero Lock-In architecture with JSON sync and native WordPress meta storage.
Performance
* Instant field toggle in builder UI — eliminated jQuery animation layout thrashing.
* Removed redundant page-load event loop that caused 10-second browser freezes on complex field groups.
* Batch database operations for post/taxonomy reordering.
0.5.5 — 2026-08-27
Developed
* New: Added modern field types: Range / Slider (MetaForge_RangeField) and Button / CTA (MetaForge_ButtonField).
* New: Added System Logs & Audit Trail tab in MetaForge Tools with event type filtering, one-click log copy, and nonce-protected log clearing.
* New: Added Switch to MetaForge non-destructive 1-Click direct database migration tool in MetaForge Tools.
* New: Added Gutenberg theme block template overrides (template-parts/blocks/{slug}.php and blocks/{slug}.php) with automatic field variable extraction.
* New: Integrated high-performance SPL class autoloader for dynamic lazy-loading of all MetaForge_* classes.
Security & Performance
* Security: Removed standalone unauthenticated scripts from distribution and replaced with authenticated, capability-protected admin views.
* Security: Hardened JSON Sync file paths against path traversal with canonical realpath checks.
* Security: Enhanced AI API remote client with SSL validation, timeout handling, and secure error reporting.
* Performance: Replaced iterative post reorder updates with high-speed $wpdb batch updates and cache flushing, reducing reorder execution time on 500+ items from ~10s to ~30ms.
* Performance: Added automatic transient cache invalidation hooks on field group save, delete, trash, and restore.
0.5.4 — 2026-07-23
Developed
* New: Added Rows and New Lines (Automatically add <br>, Automatically add paragraphs, No Formatting) Presentation options for Textarea fields with dynamic backend render and frontend output formatters.
* New: Defensive function_exists wrappers added across public helper functions (metaforge_get_field, metaforge_the_field, etc.) guaranteeing site uptime and zero lock-in even when MetaForge Engine is deactivated.
* New: Added metaforge_the_field($field_name, $post_id) public developer function to directly echo formatted field values.
Improved & Fixed
* Improved: Defensive if (!function_exists(...)) wrappers added across all public developer API functions in api/functions.php.
* Fixed: Removed background debug logging calls from TaxonomyOrderManager.php, eliminating disk write overhead on term queries.
0.5.3 — 2026-07-22
Developed
* New: WordPress User Selector field (MetaForge_UserField) supporting role filters, multi-select, and WP_User object outputs.
* New: Tab (MetaForge_TabField) UI dividers for meta box form organization.
* New: Native MetaForge developer loop helper functions (metaforge_have_rows(), metaforge_the_row(), metaforge_get_sub_field(), metaforge_reset_rows()).
* New: Built-in front-end shortcode [metaforge_field name="field_name"] with post_id override.
* New: Writable REST API support (update_callback) for custom field endpoints.
* New: WP-CLI integration command (wp metaforge sync) for CI/CD environments.
Improved & Security
* Improved: Relational and taxonomy field formatting now uses single batched get_posts() and update_meta_cache() calls, eliminating N+1 database queries.
* Improved: In-memory REST API field group configuration caching.
* Security: Added AES-256-CBC encryption key security warnings in AI Settings UI.
0.5.0 — 2026-07-01
Developed
* New: Drag-and-drop Visual Reordering Engine for Custom Post Types (MetaForge_PostOrderManager) and Taxonomy terms (MetaForge_TaxonomyOrderManager).
* New: Color Picker (MetaForge_ColorPickerField) and DateTime (MetaForge_DateTimeField) field types.
Improved
* Improved: Enhanced location rule matcher for taxonomy pages and user profile edit screens.
0.4.0 — 2026-06-04
Developed
* New: Live DOM-based PHP Code Generator inside the Field Group Builder — updates instantly as fields are edited without requiring a save.
* New: Dynamic select field placeholder generation based on field labels (e.g., “— Select Page Type —”).
Improved & Fixed
* Improved: Field duplication performs a deep copy of form state including select values, textarea content, and radio/checkbox checked states.
* Improved: Builder field property regex now handles all field attributes for robust index renumbering.
* Fixed: Select, PostType, and Taxonomy dropdown fields showing blank empty options instead of descriptive placeholders.
* Fixed: Builder field renumbering dropping taxonomy_slug, dynamic_source, and appearance attributes during reorder.
0.3.0 — 2026-05-10
Developed
* New: Enterprise REST API Controller (MetaForge_RestController) for field schema inspection and value endpoints.
* New: Global Options Page Manager (MetaForge_OptionsPageManager) backed by the metaforge_options post type.
* New: Gutenberg Block Bridge (MetaForge_BlockBridge) converting field groups to native Gutenberg blocks (metaforge/ block registry).
* New: AI Chat Panel with Layout Assistant Wizard and Fresh Layout Wizard.
* New: JSON Import/Export via AI chat interface and admin settings.
0.2.0 — 2026-04-01
Developed
* New: Multi-provider AI API Client (MetaForge_APIClient) supporting OpenAI (Completions & Responses API), Anthropic Claude, Google Gemini, and Groq (Llama).
* New: Dynamic relational fields (Post Type Selector, Taxonomy field with dynamic AJAX dependencies, Relationship field with live search populator).
* New: Local JSON Sync Manager (MetaForge_JSONSyncManager) for Git version control.
0.1.0 — 2026-02-15
Developed
* Initial public release with core engine architecture (MetaForge_Loader, MetaForge_FieldManager, MetaForge_Field_Registry).
* Visual Custom Post Type (MetaForge_PostTypeManager) and Taxonomy (MetaForge_TaxonomyManager) managers.
* Basic field types (Text, Textarea, Number, Checkbox, Radio, True/False, Link, Image, File, WYSIWYG, Group).
* Meta box rendering, location rules, and WP_List_Table field group management interface.
